﻿namespace Example
{
    using Microsoft.Practices.ServiceLocation;

    public sealed class Display
    {
        public Display()
        {
            Message = ServiceLocator.Current.GetInstance<IMessage>();
        }

        public IMessage Message { get; set; }
    }
}